namespace EyeOpen.Linq
{
	using System;
	using System.Collections.Generic;

	public static class EnumerableExtensions
	{
		public static IEnumerable<T> ForEach<T>(this IEnumerable<T> enumerable, Action<T> action)
		{
			foreach (var item in enumerable)
			{
				action(item);
			}

			return enumerable;
		}
	}
}